package com.spzx.manager.mapper;

import com.spzx.model.entity.product.Brand;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Project: spzx-parent
 * Package: com.spzx.manager.mapper
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2024/3/5 00:36
 */
@Mapper
public interface BrandMapper {
    //品牌列表查询
    List<Brand> findByPage();

    //品牌添加
    void save(Brand brand);

    //品牌修改
    void updateById(Brand brand);

    //品牌删除
    void deleteById(Long id);

    //查询所有品牌
    List<Brand> findAll();
}
